<?php use_helper('nahoWiki') ?>

<?php $page_name = $result->getInternalTitle() ?>
<?php $title = translate_namespaces($page_name, '&nbsp;&raquo;&nbsp;') ?>

<div class="nahoWiki_searchResult">
<?php echo link_to(highlight_keywords($title, $query, sfConfig::get('app_lucene_result_highlighter', '<strong class="highlight">%s</strong>')),
  add_highlight_qs($result->getInternalUri(), $query)) ?> (<?php echo $result->getScore() ?>%)
<p><?php echo highlight_result_text($result->getInternalDescription(), $query, sfConfig::get('app_lucene_result_size', 200), sfConfig::get('app_lucene_result_highlighter', '<strong class="highlight">%s</strong>')) ?></p>
</div>